﻿@model CarsRegistrationService.Models.ViewModel.RequestsViewModel
@{
    ViewBag.Title = "RequestsPage";
}
<script src="@Url.Content("~/Content/Scripts/Requests.js")" type="text/javascript"></script>
<h2>
    Hello @Model.Login!</h2>
<div id="RequestsContainer">
    @if (Model.Requests.Any())
    {
        Html.RenderPartial("RequestsTable", Model.Requests);
    }
</div>
